package com.ants.boot.wx.dto.wxauth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author 蚂蚁会花呗
 * @date 2022/4/28 14:48
 */
@ApiModel(value = "微信绑定")
public class WxBindSysUserDto {

    @ApiModelProperty(value = "微信code")
    @NotBlank(message = "微信code不能为空！")
    private String code;

    @ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空！")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "微信昵称")
    private String nickName;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
